﻿using BCEntity.TMS.DisableArea.DisableAreaVehicleTypeReference;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace BCData.TMS.DisableArea.DisableAreaVehicleTypeReference
{
    /// <summary>
    /// 禁止装卸货区域车辆类型映射数据处理
    /// </summary>
    public interface IDisableAreaVehicleTypeReferenceData
    {
        /// <summary>
        /// 添加禁止区域车辆类型映射
        /// </summary>
        /// <param name="disableAreaId">禁止装卸货区域Id</param>
        /// <param name="disableAreaVehicleTypeReferenceEntities">禁止区域车辆类型映射列表</param>
        /// <returns></returns>
        Task<int> Add(long disableAreaId, List<DisableAreaVehicleTypeReferenceEntity> disableAreaVehicleTypeReferenceEntities);
        /// <summary>
        /// 删除禁止区域车辆类型映射
        /// </summary>
        /// <param name="disableAreaId"></param>
        /// <returns></returns>
        bool Delete(long disableAreaId);
        /// <summary>
        /// 查询禁卸货区域车辆类型
        /// </summary>
        /// <param name="disableAreaId"></param>
        /// <returns></returns>
        Task<IEnumerable<DisableAreaVehicleTypeReferenceEntity>> QueryDisableAreaVehicleTypeReference(long disableAreaId);
    }
}
